{temp('html/recruit/pc/head')}
	
	<script type="text/javascript" src="../liaot/static/jquery.js"  media="all"></script>
	<script type="text/javascript" src="../liaot/static/jquery.websocket.js"  media="all"></script>
	<script type="text/javascript">
		WS_STATIC_URL = '{$_url}/websocket/static';
		WS_HOST = '120.27.199.74';
		WS_PORT = 7272;
		function denglu(){
			var jz = document.getElementById('zd');
			if(jz.checked == true){
				var zd = 1;
			}else{
				var zd = '';
			}
			var name = $("#name").val();
			var pass = $("#pass").val();
			$.post('{$_url}/?act=job&met=zjdl_sck',{name:name,pass:pass,zd:zd},function(data){
				if(data == 'cg'){
					var DEFAULT_VERSION = "8.0";
	    			var ua = navigator.userAgent.toLowerCase();
	    			var isIE = ua.indexOf("msie")>-1;
	    			var safariVersion;
	    			if(isIE){
	    			    safariVersion =  ua.match(/msie ([\d.]+)/)[1];
	    			}
	    			if(safariVersion <= DEFAULT_VERSION ){
	    			    // 进行你所要的操作
	    				location.href='{$_url}';
	    			}else{
						$.wssend('{"type":"login","name":"'+name+'","pass":"'+pass+'","bd":"2"}');
					 }
				}else{
					alert(data);
				}
			});
		}
	</script>
</head>
<body>
	<!--容器-->
	<div class="wraper">
		<!--头部-->
		<div class="w_bai h_100 bc_137ABF dis_inline t_c">
			<!--详细-->
			<div class="w_1100 auto_0">
				<!--logo-->
				<div class="f_l t_m15"><a href="{$_url}"><img src="{$style}/images/head_logo.png"></a></div>
				<!--logo结束-->
				<!--提示字-->
				<div class="f_l l_m10 t_m30"><img src="{$style}/images/head_zi.png"></div>
				<!--提示字结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--头部结束-->

		<!--主体内容-->
		<div class="w_bai dis_inline t_c">
			<!--详细-->
			<div class="w_1100 auto_0 t_m25">
				<!--登录信息-->
				<div class="w_bai t_m60 dis_inline expert_login t_l">
					<!--登录框及提示注册字-->
					<div class="dis_inline b_m50">
						<!--登录框-->
						<div class="w_390 h_395 l_m70 bc_BFDBE3 bor_FFF l_m10" style="margin-top:-45px">
							<!--左侧图片-->
							<div class="f_l xddw" style="margin-left:-32px;margin-top:-1px">
								<img src="{$style}/images/yinying_zuo.png">
							</div>
							<!--左侧图片结束-->
							<!--右侧图片-->
							<div class="f_r xddw" style="margin-right:-32px;margin-top:-1px">
								<img src="{$style}/images/yinying_you.png">
							</div>
							<!--右侧图片结束-->
							<!--标题-->
							<div class="w_bai t_m15 t_c dis_inline xddw">
								<span class="c_1379BF f_s22">欢迎专家登录</span>
							</div>
							<!--标题结束-->
							<!--登录名-->
							<div class="t_m60 dis_inline">
								<div class="f_l t_m8 l_m8">
									<span class="c_656565">登录名</span>
								</div>
								<div class="f_l l_m5">
									<input type="text" class="inp" id="name" placeholder="手机号 / 邮箱" value="{if(@$name)}{$name}{/if}" />
								</div>
							</div>
							<!--登录名结束-->
							<!--密码-->
							<div class="t_m10 dis_inline">
								<div class="f_l t_m8 l_m22" style="_margin-left:15px">
									<span class="c_656565">密码</span>
								</div>
								<div class="f_l l_m5">
									<input type="password" class="inp" id="pass" placeholder="输入密码" value="{if(@$pass)}{$pass}{/if}"/>
								</div>
							</div>
							<!--密码结束-->
							<!--自动登录及忘记密码-->
							<div class="t_m15 l_m37">
								<div class="f_l dis_inline">
									<div class="f_l l_m20" style="margin-top:4px!important;margin-top:1px;_margin-left:14px">
										<input type="checkbox" id="zd" checked="checked"/>
									</div>
									<div class="c_878787 f_l l_m5 ">记住密码</div>
								</div>
								<div class="dis_inline f_r r_m40 point" id="forget">
									<a href="{$_url}/?act=job&met=zhmm_yx">忘记密码?</a>
								</div>
							</div>
							<!--已自动登录及忘记密码解锁-->
							<!--登录按钮-->
							<div class="w_bai t_m15 dis_inline">
								<div class="w_300 h_35 l_h35 l_m58 bc_E16400 c_FFF t_c point" style="_margin-left:68px" onClick="denglu()">
									立即登录
								</div>
							</div>
							<!--登录按钮结束-->
						</div>
						<!--登录框结束-->
					</div>
				</div>
				<!--登录信息结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--主体内容结束-->
	{temp('html/recruit/pc/foot')}